package com.bmd.backgroundmanger.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 题目标签表实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("question_tags")
@Schema(name = "QuestionTag", description = "题目标签实体类")
public class QuestionTag implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "标签ID")
    @TableId(value = "tag_id", type = IdType.AUTO)
    private Integer tagId;

    @Schema(description = "题目ID")
    private Integer questionId;

    @Schema(description = "标签名称")
    private String tagName;

    @Schema(description = "创建人")
    private Integer createBy;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改人")
    private Integer updateBy;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
} 